﻿// -----------------------------------------------------------------------
// <copyright file="Attachment_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Attachment_BLL
    {
        public static List<Attachment> GetAll(int shipID)
        {
            return Attachment_DAL.GetAll(shipID);
        }
        public static bool Insert(Attachment Attachment)
        {
            return Attachment_DAL.Insert(Attachment);
        }
        public static Attachment GetDataById(int id)
        {
            return Attachment_DAL.GetDataById(id);
        }
        public static bool Update(Attachment Attachment)
        {
            return Attachment_DAL.Update(Attachment);
        }
        public static bool Delete(Attachment Attachment)
        {
            return Attachment_DAL.Delete(Attachment);
        }
        public static bool IsExits(Attachment Attachment)
        {
            return Attachment_DAL.IsExits(Attachment);
        }
          public static List<Attachment> GetDataByEquipmentID(int id, bool isChanged)
        {
            return Attachment_DAL.GetDataByEquipmentID(id, isChanged);
        }
    
    }
}
